package cn.itcast.eshop.common.mapper;

import cn.itcast.eshop.common.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM t_user WHERE id = #{id}")
    public User login(@Param("id") String id);

    public List<User> getEntityLIst();
}
